<template>
  <div class="side-bar">
    <div class="container">
      <div class="user">
        <img :src="itemData.logoUrl" alt="">
      </div>
      <div class="collection">
        <img class="heart-img" src="../../../assets/img/search/tj-mob-ui_unit-item_collected-new.png" alt="" />
      </div>
      <div class="message">
        <img class="msg-img" src="../../../assets/img/search/tj-mob-ui_unit-item_comment-new.png" alt="">
        <span class="comment">{{ itemData.totalCount }}</span>
      </div>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  itemData: {
    type: Object,
    default: () => ({})
  }
})


</script>

<style lang="less" scoped>
.side-bar {
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .user {
      img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-top: 5px;
      }
    }

    .message,
    .collection {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .msg-img,
      .heart-img {
        width: 30px;
        height: 30px;
      }

      .comment {
        color: #fff;
        font-size: 13px;
      }
    }


  }
}
</style>